import http from "@/api";
import { Dict } from "../interface/dict";

// 查询城市区县列表
export function getCityListDictAPI(params: { parentCode: string }) {
  return http.get<Dict.CityListData[]>("/manager/city/list", params);
}

// 获取短信验证码
export function getSmsCodeAPI(params: { phone: string }) {
  return http.get("/manager/sendSmsCode", params);
}
